package com.xuhuan.practice.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: huan.xu
 * @create: 2023/12/23 14:29
 * @description: minio
 **/
@Data
@ConfigurationProperties(prefix = "oss-minio")
@Component
public class OSSMinioProperties {

  /**
   * minio ip
   */
  private String minioEndpoint;
  /**
   * minio 端口
   */
  private String minioPort;
  /**
   * minio AccessKey
   */
  private String minioAccessKey;
  /**
   * minio SecretKey
   */
  private String minioSecretKey;
  /**
   * minio Secure
   */
  private Boolean minioSecure;
  /**
   * minio 桶名称
   */
  private String minioBucketName;
  /**
   * minio 下载url前缀
   */
  private String minioDownloadUrl;
}
